package com.layui.ad.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.layui.ad.entity.Role;
import com.layui.ad.query.RoleQuery;
import com.layui.ad.utils.JsonResult;

import java.util.Map;

public interface RoleService extends IService<Role> {
    JsonResult getList(RoleQuery query);

    Map<String,Object> info(Integer id);

    JsonResult edit(Role role);

    JsonResult delete(Integer id);

    JsonResult batchDelete(String ids);

    JsonResult setStatus(Role role);
}
